package com.zzyk.main.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zzyk.main.model.pojo.DeviceParam;
import com.zzyk.main.mapper.DeviceParamMapper;
import com.zzyk.main.service.DeviceParamService;

@Service
public class DeviceParamServiceImpl implements DeviceParamService {

    @Resource
    private DeviceParamMapper deviceParamMapper;

    @Override
    public int insert(DeviceParam record) {
        return deviceParamMapper.insert(record);
    }

    @Override
    public int insertSelective(DeviceParam record) {
        return deviceParamMapper.insertSelective(record);
    }

    @Override
    public DeviceParam selectByPrimaryKey(Integer id) {
        return deviceParamMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(DeviceParam record) {
        return deviceParamMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public DeviceParam selectOneByDeviceId(String clientId) {
        return deviceParamMapper.selectOneByDeviceId(clientId);
    }

}




